package com.example.swimmingpool.entity.notice;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Accessors(chain = true)
@Document("notice")
public class Notice {
    @Id
    private String id;

    private String title;

    private String content;

    private String userId;

    private Long sort;


    private String createTime;
}
